package exttable.dbclasses;

import javax.swing.*;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: alex
 * Date: 30.10.2010
 * Time: 19:42:37
 * To change this template use File | Settings | File Templates.
 */
public class Question {
    private int questionId;
    private JLabel questionLabel;
    List<Question> subQuestions = new ArrayList<Question>();

    JComboBox answerBox;

    public int getQuestionId() {
        return questionId;
    }

    public void setQuestionId(int questionId) {
        this.questionId = questionId;
    }

    public JLabel getQuestionLabel() {
        return questionLabel;
    }

    public void setQuestionLabel(JLabel questionLabel) {
        this.questionLabel = questionLabel;
    }

    public List<Question> getSubQuestions() {
        return subQuestions;
    }

    public void setSubQuestions(List<Question> subQuestions) {
        this.subQuestions = subQuestions;
    }

    public JComboBox getAnswerBox() {
        return answerBox;
    }

    public void setAnswerBox(JComboBox answerBox) {
        this.answerBox = answerBox;
    }
}
